/* Local refinement: retain the V2 palette and typography; animate only opacity. */
.understand.section { position: relative; padding: 0; }
.understand-stage {
  width: 100%;
  padding: 56px clamp(24px, 8.5vw, 136px) 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.js .understand { height: 260svh; }
.js .understand-stage { position: sticky; top: 0; height: 100svh; }
.understand-stage .section-heading { width: 100%; flex-shrink: 0; margin: 0 auto; }
.understand-stage .section-heading h2 { font-size: clamp(29px, 2.7vw, 39px); line-height: 1.45; }
.understand-stage .section-heading p { font-size: 14px; line-height: 1.85; margin-top: 14px; }
.understand-stage .section-label { margin: 0 0 12px !important; }
.understand-stage .understand-body {
  width: 100%;
  margin-top: 18px;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.understand-stage .understand-visual {
  display: grid;
  align-items: center;
  max-width: 550px;
  aspect-ratio: 3 / 2;
  isolation: isolate;
}
.understand-visual .dimension-image {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  pointer-events: none;
  transition: opacity 720ms cubic-bezier(.22, .61, .36, 1);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 64%, rgba(0,0,0,.93) 75%, rgba(0,0,0,.45) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 64%, rgba(0,0,0,.93) 75%, rgba(0,0,0,.45) 88%, transparent 100%);
}
.understand-visual .dimension-image.is-active { opacity: 1; }
.understand-visual .dimension-image-hands {
  -webkit-mask-image: radial-gradient(ellipse at 50% 58%, #000 27%, rgba(0,0,0,.96) 47%, rgba(0,0,0,.5) 65%, transparent 83%);
  mask-image: radial-gradient(ellipse at 50% 58%, #000 27%, rgba(0,0,0,.96) 47%, rgba(0,0,0,.5) 65%, transparent 83%);
}
.understand-stage .dimension-answer { transition: opacity 300ms ease; min-height: 132px; }
.understand-stage .dimension-answer.is-changing { opacity: 0; }
.understand-stage .understand-note { margin-top: 18px; flex-shrink: 0; }
.dimension-track { display: none; }
.js .dimension-track { display: grid; grid-template-rows: repeat(3, 1fr); position: absolute; inset: 50svh 0; pointer-events: none; }
.dimension-error { text-align: center; color: var(--muted); font-size: 12px; margin-top: 8px; }

/* Mask the actual image height, not a letterboxed 550px frame. */
.encounter .encounter-image img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 57%, rgba(0,0,0,.94) 68%, rgba(0,0,0,.62) 80%, rgba(0,0,0,.16) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 57%, rgba(0,0,0,.94) 68%, rgba(0,0,0,.62) 80%, rgba(0,0,0,.16) 92%, transparent 100%);
}

html.motion-paused .dimension-image,
html.motion-paused .dimension-answer { transition: none !important; }

@media (max-width: 1100px) and (min-width: 768px) {
  .understand-stage { padding-right: 48px; padding-left: 48px; }
  .understand-stage .understand-body { gap: 32px; }
  .understand-stage .dimension-list { gap: 18px; }
  .understand-stage .dimension-list button { font-size: 12px; }
}
@media (max-width: 767px) {
  .js .understand { height: 240svh; }
  .understand-stage { padding: 28px 25px 24px; }
  .understand-stage .section-heading h2 { font-size: 26px; line-height: 1.45; }
  .understand-stage .section-heading p { font-size: 11px; margin-top: 10px; }
  .understand-stage .section-label { margin-bottom: 10px !important; }
  .understand-stage .understand-body { grid-template-columns: 1fr; margin-top: 16px; gap: 8px; }
  .understand-stage .dimension-list { margin-bottom: 16px; }
  .understand-stage .dimension-answer { min-height: 108px; }
  .understand-stage .dimension-answer p { font-size: 16px; line-height: 1.8; }
  .understand-stage .dimension-answer span { font-size: 10px; margin-top: 13px; }
  .understand-stage .understand-visual { width: min(100%, 350px); justify-self: center; }
  .understand-stage .understand-note { margin-top: 12px; font-size: 9px; }
}
/* Short windows and reduced motion keep the complete, manually operated tabs. */
@media (max-height: 650px), (prefers-reduced-motion: reduce) {
  .js .understand { height: auto; }
  .js .understand-stage { height: auto; position: static; padding-top: 70px; padding-bottom: 70px; }
  .js .dimension-track { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .understand-visual .dimension-image, .understand-stage .dimension-answer { transition: none; }
}
