#development-process { padding-block: clamp(2rem, 4vw, 4rem); scroll-margin-top: 8rem; }
#development-process .process-panel {
  box-sizing: border-box;
  width: min(calc(100% - 2rem), 1320px);
  max-width: none;
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 2.5rem);
  border: 1px solid #ddbc8e;
  border-radius: 1.25rem;
  background: #f8f4ee;
  color: #102c48;
  text-align: center;
}
#development-process h2, #development-process h3, #development-process p { color: inherit; }
#development-process .process-panel > p {
  width: auto;
  max-width: 68ch;
  margin: .5rem auto 0;
}
#development-process .process-eyebrow { color: #865410; font-size: .78rem; font-weight: 700; letter-spacing: .15em; }
#development-process h2 { margin: .5rem auto; font-size: clamp(1.9rem, 3.5vw, 3.4rem); line-height: 1.08; }
#development-process ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.65rem, 1.4vw, 1.25rem);
  margin: 1.65rem 0;
  padding: 0;
}
#development-process li { min-width: 0; }
#development-process .process-photo { position: relative; width: min(100%, 160px); margin: 0 auto .7rem; }
#development-process .process-photo {
  box-sizing: border-box;
  aspect-ratio: 1;
  border: 2px solid #b87d2b;
  border-radius: 50%;
  background-image: url("/assets/img/campaign/candle-development-steps.png");
  background-size: 524% auto;
  background-position: var(--photo-position) center;
  background-repeat: no-repeat;
}
#development-process li:nth-child(1) { --photo-position: .9%; }
#development-process li:nth-child(2) { --photo-position: 25.4%; }
#development-process li:nth-child(3) { --photo-position: 50%; }
#development-process li:nth-child(4) { --photo-position: 74.6%; }
#development-process li:nth-child(5) { --photo-position: 99.1%; }
#development-process .process-photo span {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #9b6420;
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
}
#development-process h3 { margin: 0 0 .35rem; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.14; }
#development-process li p { font-size: .9rem; line-height: 1.45; margin: 0 auto; }
#development-process aside { padding: .8rem 1rem; border-radius: .8rem; background: #efe4d5; }
#development-process aside p { margin: .2rem auto 0; }
@media (max-width: 900px) {
  #development-process ol { grid-template-columns: minmax(0, 1fr); gap: .8rem; text-align: left; }
  #development-process li { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; column-gap: .8rem; padding-block: .65rem; border-bottom: 1px solid #e6d7c4; }
  #development-process .process-photo { grid-row: span 2; margin: 0; }
  #development-process h3 { margin: 0; }
  #development-process li p { margin: 0; }
}

/* Scene photography fills the frame. Keep the existing fit for diagrams and studio photos. */
body #main.cj001-page .cj-gallery-main.cj-scene-selected #mainImage {
  object-fit: cover;
}
body #main.cj001-page .cj-thumb[data-gallery-scene="true"] {
  padding: 0;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 4 / 5;
}
body #main.cj001-page .cj-thumb[data-gallery-scene="true"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: none;
}
body.db001-preview #main.cj001-page .cj-thumb[data-gallery-scene="true"] {
  aspect-ratio: 3 / 4;
}
