/* Keep the room visible around the cards and shade the text independently. */
.wc-treatment-scenes::after {
  background: linear-gradient(90deg, rgb(5 23 35 / 82%), rgb(5 23 35 / 6%) 78%),
              linear-gradient(0deg, rgb(5 23 35 / 90%), transparent 33%, transparent 76%, rgb(5 23 35 / 28%));
}
.wc-treatment-scenes .wc-shell { position: relative; }
.wc-treatment-scenes .wc-eyebrow { color: #f5d69a; }
.wc-treatment-scenes .wc-section-head h2,
.wc-treatment-scenes .wc-section-head p,
.wc-treatment-scenes .wc-note { color: #fff; }
.wc-treatment-scenes .wc-section-head { max-width: 41rem; }
.wc-treatment-scenes .wc-note { line-height: 1.6; }

.wc-options .wc-photo-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  position: relative;
  min-width: 0;
  min-height: 28rem;
  padding: 0;
  background: #0e2636;
  border: 1px solid rgb(231 207 161 / 65%);
  border-radius: 1rem;
  box-shadow: 0 .65rem 1.6rem rgb(4 16 24 / 25%);
}
.wc-photo-card .wc-room-photo,
.wc-photo-card .wc-equipment-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  object-fit: cover;
  pointer-events: none;
}
.wc-photo-card .wc-room-photo { z-index: -3; }
.wc-photo-card .wc-equipment-photo {
  z-index: -2;
  height: 58%;
  object-position: center;
  mask-image: linear-gradient(#000 70%, transparent);
  transition: opacity .45s ease;
}
.wc-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 26%, rgb(6 24 38 / 26%) 39%, rgb(6 24 38 / 84%) 58%, rgb(6 24 38 / 97%) 100%);
}
.wc-photo-copy {
  padding: 1.9rem clamp(1.25rem, 2.1vw, 2rem) 1.7rem;
  background: linear-gradient(transparent, rgb(6 24 38 / 83%) 3.4rem);
}
.wc-photo-copy h3 {
  color: white;
  font: 400 clamp(1.55rem, 2.1vw, 1.85rem)/1.16 Georgia, serif;
  margin: 0 0 .65rem;
  text-wrap: balance;
}
.wc-photo-copy p { color: #f1f5f7; margin: 0 0 .9rem; line-height: 1.55; }
.wc-photo-copy a { color: #ffdb94; text-decoration: none; }
.wc-photo-copy a:hover { text-decoration: underline; text-underline-offset: .2em; }
.wc-photo-card:focus-within,
.wc-photo-card[data-scene-active="true"] { border-color: #f3ce87; }
.wc-photo-card:focus-within .wc-equipment-photo { opacity: 0; }
.wc-photo-card a:focus-visible { outline-color: #ffdb94; }
@media (hover: hover) {
  .wc-photo-card:hover .wc-equipment-photo { opacity: 0; }
}
@media (max-width: 900px) {
  .wc-treatment-scenes .wc-options { grid-template-columns: 1fr; max-width: 39rem; margin-inline: auto; }
  .wc-options .wc-photo-card { min-height: 25rem; }
  .wc-photo-card .wc-equipment-photo { object-position: center 44%; }
}
@media (hover: none) {
  .wc-photo-card[data-scene-active="true"] .wc-equipment-photo { opacity: 0; }
}
@media (max-width: 720px) {
  .wc-treatment-scenes { padding-block: 3rem; }
  .wc-treatment-scenes::after { background: linear-gradient(180deg, rgb(6 24 38 / 87%), rgb(6 24 38 / 32%) 26%, rgb(6 24 38 / 48%) 78%, rgb(6 24 38 / 94%)); }
}
@media (prefers-reduced-motion: reduce) {
  .wc-photo-card .wc-equipment-photo { transition: none; }
}
