.topic-case {
  padding: clamp(3.5rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7rem);
  background: #171c19;
  color: #f6f4ee;
}
.tc-inner { max-width: 78rem; margin: auto; }
.tc-heading, .tc-cta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.25rem, 5vw, 5rem);
  align-items: end;
}
.tc-heading { margin-bottom: clamp(1.75rem, 4vw, 3.5rem); }
.tc-heading h2 {
  margin: .45rem 0;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: .99;
}
.tc-heading .eyebrow, .tc-subtitle, .tc-photo figcaption { color: #dfc58e; }
.tc-subtitle { margin: .8rem 0 0; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.tc-lead, .tc-caption p, .tc-cta p { color: #d9ddd5; line-height: 1.65; }
.tc-lead { margin: 0; max-width: 33rem; font-size: 1.08rem; }
.tc-comparison, .tc-gallery { display: grid; gap: 1rem; }
.tc-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tc-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 0 1.5rem; }
@media (min-width: 801px) {
  .tc-initial-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tc-photo { margin: 0; background: #101411; border: 1px solid #50574b; }
.tc-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101411;
}
.tc-portrait .tc-frame { aspect-ratio: 4 / 5; }
.tc-frame img {
  position: absolute;
  display: block;
  width: var(--image-width);
  max-width: none;
  height: auto;
  left: var(--image-left);
  top: var(--image-top);
  filter: brightness(var(--light, 1)) contrast(var(--contrast, 1)) saturate(var(--saturation, 1));
}
.tc-facial-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto 2.25rem;
}
.tc-delivery-gallery > .tc-portrait .tc-frame {
  max-width: 22rem;
  margin-inline: auto;
}
.tc-photo figcaption { padding: .9rem 1rem; font-size: .94rem; line-height: 1.45; }
.tc-caption { margin: 1rem 0 2.25rem; }
.tc-caption p { margin: 0; font-size: .94rem; }
.tc-details { border-top: 1px solid #50574b; }
.tc-details summary { padding: 1.2rem .15rem; cursor: pointer; font-size: 1rem; }
.tc-details summary::marker { color: #dfc58e; }
.tc-cta { align-items: center; border-top: 1px solid #50574b; padding-top: 2rem; }
.tc-cta h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0; font-weight: 400; }
.tc-cta p { margin: .5rem 0 0; }
.tc-cta .btn { justify-self: end; background: #dfc58e; color: #171c19; }
@media (max-width: 800px) {
  .tc-heading, .tc-cta { grid-template-columns: minmax(0, 1fr); }
  .tc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-cta .btn { justify-self: start; }
}
@media (max-width: 460px) {
  .tc-comparison, .tc-gallery { grid-template-columns: minmax(0, 1fr); }
}
.tc-care-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid #947b49;
  font-weight: 600;
}
.tc-definitive { border-top: 1px solid #50574b; padding-top: 2.75rem; }
.tc-definitive h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
}
.tc-delivery-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 460px) {
  .tc-delivery-gallery { grid-template-columns: minmax(0, 1fr); }
}


.tc-facial-comparison {
  max-width: 46rem;
}
.tc-facial-comparison .tc-photo,
.tc-comparison .tc-photo {
  border-color: #353c34;
}

.topic-case .tc-details {
  margin: 0 0 .9rem;
  border: 1px solid #766346;
  border-radius: .65rem;
  background: #222922;
}
.topic-case .tc-details summary {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.7rem, 2vw, 1.3rem);
  padding: .7rem clamp(.7rem, 2vw, 1.15rem);
  border-radius: .65rem;
  list-style: none;
}
.topic-case .tc-details summary::-webkit-details-marker { display: none; }
.topic-case .tc-details summary::after { content: none; }
.topic-case .tc-details summary:hover,
.topic-case .tc-details[open] summary { background: #2d352b; }
.tc-gallery-thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: .3rem; }
.tc-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tc-gallery-title { color: #f6f4ee; font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 600; }
.tc-gallery-action {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #dfc58e;
  color: #171c19;
  padding: .55rem .8rem;
  border-radius: .3rem;
  font-size: .875rem;
  font-weight: 700;
}
.tc-gallery-action::after { content: '+'; font-size: 1.15rem; line-height: 1; }
.tc-details[open] .tc-gallery-action::after { content: '−'; }
.tc-gallery-hide, .tc-details[open] .tc-gallery-show { display: none; }
.tc-details[open] .tc-gallery-hide { display: inline; }
.tc-details .tc-gallery { padding: 1rem; }
@media (max-width: 480px) {
  .topic-case .tc-details summary { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .tc-gallery-thumb { grid-row: span 2; align-self: start; }
  .tc-gallery-action { justify-self: start; }
}

.tc-prototype-note {
  max-width: 70ch;
  margin: 1.15rem 1rem .15rem;
  color: #e5e6dd;
  line-height: 1.65;
}
.tc-details .tc-prototype-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.tc-prototype-gallery .tc-portrait { width: 100%; max-width: 24rem; }
@media (max-width: 460px) {
  .tc-details .tc-prototype-gallery { grid-template-columns: minmax(0, 1fr); }
}

.tc-prosthesis-galleries { padding: 1rem; }
.tc-prosthesis-galleries h4 {
  margin: 0 0 .75rem;
  color: #f6f4ee;
  font-size: 1.1rem;
  font-weight: 600;
}
.tc-prosthesis-galleries .tc-prosthesis-gallery { padding: 0; }
.tc-prosthesis-gallery + h4 { margin-top: 1.5rem; }
@media (min-width: 801px) {
  .tc-prosthesis-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tc-prosthesis-gallery > figure { grid-column: span 2; }
  .tc-prosthesis-gallery > figure:nth-child(4) { grid-column: 2 / span 2; }
  .tc-prosthesis-gallery > figure:only-child { grid-column: 3 / span 2; }
}
