.dmns-timeline,
.dmns-timeline * {
  box-sizing: border-box;
}

.dmns-timeline {
  --dmns-timeline-ink: #171515;
  --dmns-timeline-muted: #99968f;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: clamp(42px, 5vw, 76px) 0 0;
  overflow: hidden;
  color: var(--dmns-timeline-ink);
}

.dmns-timeline__header {
  width: min(1380px, calc(100% - clamp(40px, 8vw, 120px)));
  margin: 0 auto clamp(28px, 4vw, 56px);
}

.dmns-timeline .dmns-timeline__title {
  margin: 0;
  padding: 0;
  color: var(--dmns-timeline-ink);
  font-family: "freight-big-pro", "Freight Big Pro", freight-big-pro, Georgia, "Times New Roman", serif !important;
  font-size: clamp(42px, 4.45vw, 64px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.02em;
}

.dmns-timeline__stage {
  position: relative;
  width: 100%;
}

.dmns-timeline__carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.dmns-timeline__carousel:not(.flickity-enabled) .dmns-timeline__slide:not(:first-child) {
  display: none;
}

.dmns-timeline__carousel .flickity-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
}

.dmns-timeline__carousel .flickity-viewport.is-pointer-down {
  cursor: grabbing;
}

.dmns-timeline__carousel .flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.dmns-timeline__slide {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 clamp(24px, 8vw, 120px);
  overflow: visible;
  transition: none !important;
}

.dmns-timeline__slide-inner {
  width: 100%;
  transform-origin: center;
  transition: transform .45s ease;
}

.dmns-timeline.is-dragging .dmns-timeline__slide-inner,
.dmns-timeline__carousel .flickity-viewport.is-pointer-down .dmns-timeline__slide-inner {
  transform: scale(.985);
}

.dmns-timeline__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1020px, 82vw);
  height: clamp(470px, 53vw, 680px);
  margin: 0 auto;
  padding: 0;
}

.dmns-timeline__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
}

.dmns-timeline__copy {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 40px));
  margin: clamp(42px, 3.2vw, 56px) auto 0;
  text-align: center;
}

.dmns-timeline__copy[hidden] {
  display: none !important;
}

.dmns-timeline .dmns-timeline__copy > h3 {
  margin: 0;
  padding: 0;
  color: var(--dmns-timeline-ink);
  font-family: "freight-big-pro", "Freight Big Pro", freight-big-pro, Georgia, "Times New Roman", serif !important;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.015em;
}

.dmns-timeline__text {
  margin: 16px 0 0;
  color: var(--dmns-timeline-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.dmns-timeline__text > :first-child {
  margin-top: 0;
}

.dmns-timeline__text > :last-child {
  margin-bottom: 0;
}

.dmns-timeline__arrows {
  position: absolute;
  z-index: 20;
  inset: 0;
  pointer-events: none;
}

.dmns-timeline__arrow {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: absolute;
  top: 40%;
  display: grid;
  place-items: center;
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--dmns-timeline-ink) !important;
  border-radius: 50% !important;
  background: var(--dmns-timeline-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  pointer-events: auto;
  cursor: pointer;
  transform: translateY(-50%) !important;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.dmns-timeline__arrow--previous {
  left: clamp(20px, 4vw, 64px);
}

.dmns-timeline__arrow--next {
  right: clamp(20px, 4vw, 64px);
}

.dmns-timeline__arrow:hover,
.dmns-timeline__arrow:focus-visible {
  background: transparent !important;
  color: var(--dmns-timeline-ink) !important;
}

.dmns-timeline__arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.dmns-timeline__rail {
  width: 100%;
  margin-top: clamp(8px, 1vw, 16px);
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 0;
  scrollbar-width: none;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}

.dmns-timeline__rail::-webkit-scrollbar {
  display: none;
}

.dmns-timeline__rail-track {
  display: flex;
  width: 100%;
  min-width: 100%;
}

.dmns-timeline__moment {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative;
  display: flex;
  flex: 0 0 calc(100% / 7);
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-width: 150px;
  min-height: 126px;
  margin: 0;
  padding: 18px clamp(16px, 2.7vw, 46px) 24px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: linear-gradient(rgba(23, 21, 21, .72), rgba(23, 21, 21, .72)) !important;
  background-position: 0 calc(100% - 4px) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 1px !important;
  color: var(--dmns-timeline-muted) !important;
  box-shadow: none !important;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease;
}

.dmns-timeline__dot {
  position: absolute;
  top: auto;
  bottom: 1px;
  left: clamp(16px, 2.7vw, 46px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.dmns-timeline__year {
  display: block;
  font-family: "freight-big-pro", Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.dmns-timeline__year-subtitle {
  display: block;
  margin-top: 11px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.dmns-timeline__moment.is-selected,
.dmns-timeline__moment:hover,
.dmns-timeline__moment:focus-visible {
  color: var(--dmns-timeline-ink) !important;
}

.dmns-timeline__arrow::before,
.dmns-timeline__arrow::after,
.dmns-timeline__moment::before,
.dmns-timeline__moment::after {
  content: none !important;
  display: none !important;
}

.dmns-timeline__moment:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: -4px;
}

.dmns-timeline-empty {
  padding: 24px;
  border: 1px dashed #aaa;
}

@media (min-width: 691px) {
  .dmns-timeline__media {
    height: auto;
  }

  .dmns-timeline__image {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 690px) {
  .dmns-timeline {
    padding-top: 30px;
  }

  .dmns-timeline__header {
    width: calc(100% - 40px);
    margin-bottom: 32px;
  }

  .dmns-timeline .dmns-timeline__title {
    font-size: clamp(36px, 11vw, 46px);
    line-height: 1;
  }

  .dmns-timeline__slide {
    padding: 0 20px;
  }

  .dmns-timeline__media {
    width: 100%;
    height: clamp(210px, 67vw, 310px);
  }

  .dmns-timeline__copy {
    width: 100%;
    margin-top: 24px;
  }

  .dmns-timeline .dmns-timeline__copy > h3 {
    font-size: 31px;
    line-height: 1.05;
  }

  .dmns-timeline__text {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.55;
  }

  .dmns-timeline__arrows {
    position: relative;
    inset: auto;
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    width: calc(100% - 40px);
    height: 48px;
    margin: 36px auto 20px;
  }

  .dmns-timeline__arrow {
    position: relative;
    inset: auto;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    font-size: 22px;
    transform: none !important;
  }

  .dmns-timeline__rail {
    margin-top: 0;
  }

  .dmns-timeline__moment {
    flex-basis: 50%;
    min-width: 50%;
    min-height: 116px;
    padding: 18px 20px 24px 52px;
  }

  .dmns-timeline__dot {
    left: 52px;
  }

  .dmns-timeline__year {
    font-size: 25px;
  }

  .dmns-timeline__year-subtitle {
    margin-top: 9px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dmns-timeline__slide-inner,
  .dmns-timeline__arrow,
  .dmns-timeline__moment,
  .dmns-timeline__rail {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
