/* Image integration layer: keeps lifestyle photography consistent with the BluePropel visual system. */
.scene-card {
  isolation: isolate;
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(6, 23, 27, .16);
  background: #0a252a;
}

.scene-card > .scene-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease;
}

.scene-card::before,
.scene-b::before,
.scene-c::before {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 20, 25, .08) 20%, rgba(3, 20, 25, .32) 52%, rgba(3, 20, 25, .96) 100%),
    linear-gradient(90deg, rgba(4, 22, 27, .22), transparent 55%);
}

.scene-card:hover > .scene-photo {
  transform: scale(1.055);
  filter: saturate(1.06) contrast(1.03);
}

.scene-card > div {
  margin-top: auto;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .45);
}

.scenes .scene-title .eyebrow {
  color: #376c65;
}

.scene-card > div > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
}

.story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #06171b;
}

.story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 20, 24, .48), rgba(4, 20, 24, .88)),
    radial-gradient(circle at 50% 48%, transparent 0, rgba(4, 20, 24, .38) 60%, rgba(4, 20, 24, .72) 100%);
}

.story-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.story-inner {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .55);
}

.story h2 { color: #fff; }
.story p { color: #d0dcda; }
.story .eyebrow { color: #c8ff2e; }

.photo-credit {
  margin: 28px 0 0;
  color: #718382;
  font-size: 11px;
  letter-spacing: .02em;
}

.photo-credit a {
  color: #a9bab7;
  border-bottom: 1px solid rgba(169, 186, 183, .45);
}

@media (max-width: 850px) {
  .scene-grid { gap: 18px; }
  .scene-card { border-radius: 20px; }
  .story { min-height: 720px; }
  .story-photo { object-position: 52% center; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-card > .scene-photo { transition: none; }
  .scene-card:hover > .scene-photo { transform: scale(1.015); }
}
