/* NCS reform comparison, samples and automatic preview controls */
#reform-intro :is(.compare, .ncs-reform__compare) { position: relative; }
#reform-intro .reform-marks {
  display: flex;
  flex: 0 0 100%;
  gap: clamp(2px, .45vw, 5px);
  align-items: center;
  margin: 9px 0 3px;
  white-space: nowrap;
}
#reform-intro .reform-marks i {
  display: block;
  width: clamp(4px, .55vw, 8px);
  height: clamp(4px, .55vw, 8px);
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #5d5145;
  opacity: .74;
}
#reform-intro :is(.compare__item--new, .ncs-reform__item--new) .reform-marks i {
  color: #492b0b;
  background: currentColor;
  opacity: 1;
}
#reform-intro .show-reform-flow :is(.compare__arrow, .ncs-reform__arrow) {
  animation: ncs-reform-arrow 850ms ease-out both;
}
#reform-intro .show-reform-flow :is(.compare__item--new, .ncs-reform__item--new) .reform-marks i {
  animation: ncs-reform-fill 460ms ease-out both;
  animation-delay: calc(360ms + var(--mark) * 95ms);
}
@keyframes ncs-reform-arrow {
  from { translate: -9px 0; opacity: .3; }
  to { translate: 0 0; opacity: 1; }
}
@keyframes ncs-reform-fill {
  from { transform: scale(.45); opacity: .25; }
  to { transform: scale(1); opacity: 1; }
}
#preview .preview-card h3 {
  display: block;
  font-size: clamp(25px, 3.7vw, 37px);
  line-height: 1.25;
  margin-bottom: 16px;
}
#preview .sample-benefits {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid currentColor;
  list-style: none;
  line-height: 1.48;
}
#preview .sample-benefits li { padding-left: 14px; border-left: 3px solid #af750c; }
#preview .sample-benefits strong { display: block; }
#preview .preview-card .sample-pdf-link { background: #211a11; color: #fffaf0; }
#preview .preview-card .sample-pdf-link:hover { background: #ffc658; color: #201709; }
#guide .video-media iframe,
#guide .video-media .ncs-guide-file__link {
  display: block;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  background: #0f0f0f;
}
#guide .video-media .ncs-guide-file__link {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
#guide .ncs-guide-file__link img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
#guide .ncs-guide-file__link span {
  position: relative;
  display: grid;
  place-items: center;
  width: 63px;
  height: 44px;
  border-radius: 10px;
  background: #d60000;
  color: #fff;
  font-size: 22px;
}
#guide .ncs-guide-file p { margin: 7px 0 0; font-size: 13px; }
#guide :is(iframe, .ncs-guide-file)[hidden] { display: none; }
#areas .ncs-rotation-row,
#book-view .ncs-rotation-row,
#reform .ncs-rotation-row,
#areas .map-figure .ncs-rotation-row { margin-top: 10px; }
#areas .ncs-rotation-toggle,
#book-view .ncs-rotation-toggle,
#reform .ncs-rotation-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  #reform-intro .show-reform-flow :is(.compare__arrow, .ncs-reform__arrow, .reform-marks i) { animation: none; }
}
