.elementor-widget-dcj_work,
.elementor-widget-dcj_work > .elementor-widget-container {
  overflow: visible !important;
}

.dcj-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dcj-work {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  background: #000;
  color: #fff;
  font-family: Geist, ui-sans-serif, system-ui, sans-serif;
}

.dcj-work-row {
  display: flex;
  flex-direction: column-reverse;
  min-height: 100dvh;
  background: #000;
}

.dcj-work-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 2.5rem 1.25rem 2rem;
  background: #000;
}

.dcj-work-copy.is-open {
  background: transparent;
}

.dcj-work-copy::after {
  display: none;
}

.dcj-work-copy.is-open::after {
  display: none !important;
}

.dcj-work-stack {
  position: relative;
}

.dcj-work-slide {
  display: none;
}

.dcj-work-slide.is-on {
  display: block;
}

.dcj-work-title {
  max-width: 12ch;
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.dcj-work-body {
  max-width: 28ch;
  margin: 1.25rem 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.dcj-work-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
}

.dcj-work-ticks,
.dcj-work-arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.elementor-widget-dcj_work .dcj-work-tick,
.elementor-widget-dcj_work button.dcj-work-tick,
.dcj-work button.dcj-work-tick {
  all: unset !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 2rem !important;
  min-width: 2rem !important;
  max-width: 2rem !important;
  height: 4px !important;
  min-height: 4px !important;
  max-height: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgb(255 102 0 / 0.28) !important;
  background-image: none !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  overflow: hidden !important;
  cursor: pointer !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.elementor-widget-dcj_work .dcj-work-tick[aria-current="true"],
.elementor-widget-dcj_work button.dcj-work-tick[aria-current="true"],
.dcj-work button.dcj-work-tick[aria-current="true"] {
  background: #ff6600 !important;
  box-shadow:
    0 0 10px 2px #ff6600,
    0 0 22px 6px rgb(255 102 0 / 0.7) !important;
  animation: dcj-work-tick-pulse 1.8s ease-in-out infinite !important;
}

.elementor-widget-dcj_work .dcj-work-arrow,
.elementor-widget-dcj_work button.dcj-work-arrow,
.dcj-work button.dcj-work-arrow {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  min-width: 2.75rem !important;
  min-height: 2.75rem !important;
  max-width: 2.75rem !important;
  max-height: 2.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgb(255 255 255 / 0.2) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 0 !important;
  line-height: 0 !important;
  cursor: pointer !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: transform 140ms var(--dcj-ease, cubic-bezier(0.23, 1, 0.32, 1)) !important;
}

.elementor-widget-dcj_work .dcj-work-next,
.elementor-widget-dcj_work button.dcj-work-next,
.dcj-work button.dcj-work-next {
  border-color: transparent !important;
  background: #ff6600 !important;
  color: #0c0c0c !important;
}

.elementor-widget-dcj_work .dcj-work-arrow:active,
.dcj-work button.dcj-work-arrow:active {
  transform: scale(0.97) !important;
}

.elementor-widget-dcj_work .dcj-work-arrow svg,
.dcj-work button.dcj-work-arrow svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  flex: none !important;
}

.elementor-widget-dcj_work .dcj-work-tick::before,
.elementor-widget-dcj_work .dcj-work-tick::after,
.elementor-widget-dcj_work .dcj-work-arrow::before,
.elementor-widget-dcj_work .dcj-work-arrow::after,
.dcj-work button.dcj-work-tick::before,
.dcj-work button.dcj-work-tick::after,
.dcj-work button.dcj-work-arrow::before,
.dcj-work button.dcj-work-arrow::after {
  display: none !important;
  content: none !important;
}

.dcj-work-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
  overflow: hidden;
  background: #101010;
}

.dcj-work-visual {
  position: absolute;
  inset: 0;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dcj-work-visual.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dcj-work-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.dcj-work-visual.is-pos-center img {
  object-position: center;
}

.dcj-work-visual.is-pos-right img {
  object-position: right center;
}

.dcj-work-visual.is-bleed img {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 767px) {
  .dcj-work-row {
    position: relative;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .dcj-work-copy {
    z-index: 2;
    justify-content: flex-end;
    min-height: 22.5rem;
    padding: 2.1rem 1.15rem 1.7rem;
    background: transparent;
  }

  .dcj-work-copy.is-open {
    background: transparent;
  }

  .dcj-work-copy::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
      100deg,
      #000 0%,
      #000 36%,
      rgb(0 0 0 / 0.82) 52%,
      rgb(0 0 0 / 0.38) 72%,
      rgb(0 0 0 / 0.08) 88%,
      transparent 100%
    );
  }

  .dcj-work-copy.is-open::after {
    display: block !important;
  }

  .dcj-work-stack,
  .dcj-work-nav {
    position: relative;
    z-index: 1;
  }

  .dcj-work-title {
    font-size: clamp(2.05rem, 11vw, 2.7rem);
  }

  .dcj-work-nav {
    margin-top: 1.75rem;
  }

  .dcj-work-frame {
    position: absolute;
    top: 1.1rem;
    right: -8%;
    bottom: 1.1rem;
    z-index: 0;
    width: 68%;
    max-width: 16.5rem;
    height: auto;
    aspect-ratio: auto;
    background: transparent;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
  }

  .dcj-work-visual.is-on {
    pointer-events: none;
  }

  .dcj-work-visual img,
  .dcj-work-visual.is-bleed img {
    object-fit: cover;
    object-position: center right;
    opacity: 0.72;
  }
}

@media (min-width: 768px) {
  .dcj-work-row {
    flex-direction: row;
    align-items: center;
  }

  .dcj-work-copy {
    justify-content: center;
    flex: none;
    width: min(42vw, 32rem);
    min-height: 100dvh;
    padding: 5rem 2.5rem;
  }

  .dcj-work-copy::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 7.5rem;
    pointer-events: none;
    background: linear-gradient(90deg, #000 20%, transparent 100%);
    transform: translateX(100%);
  }

  .dcj-work-nav {
    margin-top: 4rem;
  }

  .dcj-work-frame {
    aspect-ratio: auto;
    width: min(62vw, calc(100vw - 26rem));
    height: 92dvh;
  }

  .dcj-work-frame.is-bleed {
    overflow: visible;
    background: transparent;
  }

  .dcj-work-visual.is-bleed img {
    inset: auto 0 0 auto;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: right center;
    opacity: 1;
  }

  .dcj-work-visual img {
    opacity: 1;
  }
}

@media (min-width: 1024px) {
  .dcj-work-copy {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
}

.dcj-work.is-edit .dcj-work-row,
.dcj-work.is-edit .dcj-work-copy {
  min-height: 0;
}

.dcj-work.is-edit .dcj-work-frame {
  height: 380px;
}

@media (prefers-reduced-motion: no-preference) {
  .dcj-work-slide.is-on {
    animation: dcj-work-copy-in 0.34s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .dcj-work.is-back .dcj-work-slide.is-on {
    animation-name: dcj-work-copy-back;
  }

  .dcj-work-slide.is-on .dcj-work-title {
    animation: dcj-work-title-in 0.52s cubic-bezier(0.34, 1.4, 0.64, 1);
  }

  .dcj-work-visual.is-on {
    animation: dcj-work-zoom 0.52s cubic-bezier(0.34, 1.4, 0.64, 1);
  }
}

@keyframes dcj-work-copy-in {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dcj-work-copy-back {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dcj-work-title-in {
  from {
    opacity: 0;
    transform: translateY(36px) scale(1.14);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes dcj-work-zoom {
  from {
    opacity: 0;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes dcj-work-tick-pulse {
  0%,
  100% {
    box-shadow:
      0 0 8px 2px #ff6600,
      0 0 18px 4px rgb(255 102 0 / 0.55);
  }
  50% {
    box-shadow:
      0 0 14px 4px #ffd27a,
      0 0 32px 8px rgb(255 102 0 / 0.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dcj-work-tick[aria-current="true"] {
    animation: none;
  }
}
