#s02 { padding-bottom: 0; background: var(--bg); }
#s02 .s02-scene { position: relative; background: var(--bg); }
#s02 .s02-frame { position: relative; margin: 0; overflow: hidden; }
#s02 .s02-frame + .s02-frame { margin-top: 24px; }
#s02 .s02-frame img { width: 100%; height: auto; }
#s02 .s02-label {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 16px;
  border: 1px solid rgba(241, 231, 214, 0.25);
  border-radius: 2px;
  background: rgba(20, 16, 12, 0.86);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}
#s02 .s02-label span { color: var(--bronze-soft); font-size: 10px; letter-spacing: 0.12em; }
#s02 .s02-credit { margin: 0; padding: 18px var(--gutter) 24px; line-height: 1.5; }
#s02 .s02-progress { display: none; }

@media (min-width: 1024px) and (min-height: 600px) and (min-aspect-ratio: 4/3) and (prefers-reduced-motion: no-preference) {
  #s02.s02-motion .s02-scene { height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
  #s02.s02-motion .s02-frame { position: absolute; inset: 0; margin: 0; }
  #s02.s02-motion .s02-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
  /* Soft edges while the lot image is still smaller than the frame (feather set from script.js, 0% at rest). */
  #s02.s02-motion .s02-lot img {
    --s02-feather: 0%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--s02-feather), #000 calc(100% - var(--s02-feather)), transparent), linear-gradient(180deg, transparent, #000 var(--s02-feather), #000 calc(100% - var(--s02-feather)), transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 var(--s02-feather), #000 calc(100% - var(--s02-feather)), transparent), linear-gradient(180deg, transparent, #000 var(--s02-feather), #000 calc(100% - var(--s02-feather)), transparent);
    mask-composite: intersect;
  }
  #s02.s02-motion .s02-wide { z-index: 1; }
  #s02.s02-motion .s02-lot { z-index: 2; }
  #s02.s02-motion .s02-project { z-index: 3; }
  #s02.s02-motion .s02-label { top: 38px; bottom: auto; }
  #s02.s02-motion .s02-credit {
    position: absolute;
    z-index: 4;
    inset: auto 0 0;
    padding: 36px var(--gutter) 26px;
    color: var(--ink);
    background: linear-gradient(transparent, rgba(20, 16, 12, 0.88));
    pointer-events: none;
  }
  #s02.s02-motion .s02-progress { display: block; position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
  #s02.s02-motion .s02-progress span { display: block; height: 100%; background: var(--bronze-soft); transform: scaleX(0); transform-origin: left center; }
}

@media (max-width: 767px) {
  #s02 .s02-label { bottom: 16px; padding: 7px 12px; font-size: 13px; }
  #s02 .s02-credit { font-size: 12px; }
}
