.color-study {
  padding: clamp(60px, 9vw, 145px) var(--pad);
  scroll-margin-top: 65px;
  background: radial-gradient(ellipse at 85% 53%, #1a2421 0, transparent 48%), #10120f;
  color: #f0efe9;
}
.color-study-inner { width: min(100%, 1160px); margin-inline: auto; }
.color-study-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(20px, 3vw, 42px); }
.color-study-kicker { margin: 0 0 .8rem; color: #b9c9bd; font: 500 11px/1.3 var(--micro); letter-spacing: .1em; text-transform: uppercase; }
.color-study h2 { margin: 0; font: 460 clamp(46px, 7.3vw, 106px)/.95 Geist, Arial, sans-serif; letter-spacing: -.075em; }
.color-study h2 span { color: #afc7b6; }
.color-study-intro { max-width: 30ch; margin: 0 0 .15rem; color: #c3c6bd; font: 400 clamp(15px, 1.3vw, 18px)/1.48 Geist, Arial, sans-serif; }
.color-study-figure { margin: 0; }
.color-study-frame {
  --color-split: 50%;
  position: relative;
  aspect-ratio: 16/9;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(12px, 2vw, 26px);
  background: #171b18;
  box-shadow: 0 22px 65px -40px #000;
}
.color-study-frame::after { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid #ffffff2e; border-radius: inherit; pointer-events: none; }
.color-study-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.color-study-before { clip-path: inset(0 calc(100% - var(--color-split)) 0 0); }
.color-study-badge {
  position: absolute; z-index: 1; top: clamp(10px, 2vw, 23px);
  padding: 7px 11px;
  border: 1px solid #ffffff42; border-radius: 999px;
  background: linear-gradient(128deg, #222721bf, #0a100db3); color: #fff;
  box-shadow: inset 0 1px 1px #ffffff1a;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font: 500 clamp(9px, .92vw, 12px)/1.15 var(--micro); letter-spacing: .015em;
  pointer-events: none;
}
.color-study-label-before { left: clamp(10px, 2vw, 23px); }
.color-study-label-after { right: clamp(10px, 2vw, 23px); }
.color-study-frame[data-edge="before"] .color-study-label-after, .color-study-frame[data-edge="after"] .color-study-label-before { visibility: hidden; }
.color-study-divider { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--color-split); border-left: 1px solid #f4f4ecdc; pointer-events: none; }
.color-study-divider span {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  display: grid; place-content: center; width: clamp(34px, 4vw, 50px); aspect-ratio: 1;
  border: 1px solid #eee9dd97; border-radius: 50%; color: #fff;
  background: linear-gradient(145deg, #f0faf643, #17231d91); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 3px 15px #0004; font: 400 23px/1 Geist, Arial, sans-serif; white-space: pre;
}
.color-study-range { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.color-study-frame:focus-within { outline: 2px solid #d3eadb; outline-offset: 4px; }
.color-study-caption { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 13px; }
.color-study-shots { display: flex; border: 1px solid #ffffff36; border-radius: 24px; padding: 3px; background: linear-gradient(140deg, #b2c5b71f, #181e19ba); }
.color-study-shots button { display: block; padding: 10px 14px; min-height: 38px; background: transparent; border: 0; border-radius: 22px; color: #c0c7bc; font: 500 13px/1 Geist, Arial, sans-serif; cursor: pointer; }
.color-study-shots button[aria-pressed="true"] { color: #161d18; background: #dee5db; }
.color-study :is(button, a):focus-visible { outline: 2px solid #d5edde; outline-offset: 3px; }
.color-study-reel { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; color: #ced3c9; font-size: 13px; }
.color-study-cta { display: inline-flex; align-items: center; gap: .7em; margin-top: 17px; padding: 10px 0; border-bottom: 1px solid #c4d2c766; font: 520 15px/1.3 Geist, Arial, sans-serif; }
.color-study-cta:hover { border-color: #e2efe5; }
@media (max-width: 660px) {
  .color-study-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .color-study-intro { max-width: 36ch; }
  .color-study-shots button { padding: 9px 10px; }
}
