.koe-work-partners {
  --koe-work-ink: #050505;
  position: relative;
  isolation: isolate;
  background: #fff !important;
  color: var(--koe-work-ink);
  margin-top: 0 !important;
  min-height: auto !important;
  overflow: hidden;
  padding: clamp(22px, 2.8vw, 46px) 0 clamp(46px, 5vw, 86px) !important;
}

.koe-work-partners::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: clamp(140px, 14vw, 230px);
  pointer-events: none;
  background-image: url("/koe-assets-v20260606m/uploads/2025/06/koe-graph-background.svg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  opacity: 0.86;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 0.68) 38%, rgb(0 0 0 / 0.22) 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / 0.68) 38%, rgb(0 0 0 / 0.22) 68%, transparent 100%);
}

.koe-work-partners .elementor-element-026ef24,
.koe-work-partners .elementor-element-31d9aa1,
.koe-work-partners .elementor-element-ee1d8bb,
.koe-work-partners .elementor-element-8456b97,
.koe-work-partners .elementor-element-285ac50,
.koe-work-partners .elementor-element-2e2e8f3 {
  width: 100% !important;
  max-width: none !important;
}

.koe-work-partners .elementor-element-50e2131,
.koe-work-partners .elementor-element-ec589d5,
.koe-work-partners .elementor-element-735b0b3,
.koe-work-partners .elementor-element-1ad1e14,
.koe-work-partners .elementor-element-c4a4c53,
.koe-work-partners .elementor-widget-image-carousel {
  display: none !important;
}

.koe-work-strip {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-top: 0;
}

.koe-work-strip::before {
  content: none;
}

.koe-work-kicker {
  display: none;
}

.koe-work-strip-title {
  display: none;
}

.koe-work-heading {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 0 clamp(18px, 2.3vw, 30px);
  padding: 0 clamp(18px, 4vw, 56px);
  color: #050505;
  font-family: var(--koe-rmd-font, "IBM Plex Sans JP", sans-serif);
  text-align: center;
}

.koe-work-heading-title {
  margin: 0;
  font-size: clamp(13px, 1.15vw, 20px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: lowercase;
}

.koe-work-heading-subtitle {
  display: none;
}

.koe-work-stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
  background: #fff;
  contain: layout paint;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 clamp(28px, 5vw, 82px), #000 calc(100% - clamp(28px, 5vw, 82px)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 clamp(28px, 5vw, 82px), #000 calc(100% - clamp(28px, 5vw, 82px)), transparent 100%);
}

.koe-work-row,
.koe-work-track {
  display: flex;
  width: max-content;
  gap: 2px;
  padding: 0;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: koe-work-marquee 150s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.koe-work-stage.is-marquee-ready .koe-work-row,
.koe-work-stage.is-marquee-ready .koe-work-track {
  animation-play-state: running;
}

.koe-work-row-reverse {
  transform: translate3d(calc(-50% - 1px), 0, 0);
  animation-name: koe-work-marquee-reverse;
  animation-duration: 168s;
  animation-delay: -18s;
}

.koe-work-card {
  position: relative;
  flex: 0 0 clamp(184px, 18vw, 320px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f2f2f2;
}

.koe-work-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
  transform: scale(1.01);
  transition: transform 450ms ease;
}

.koe-work-card:hover img {
  transform: scale(1.06);
}

.koe-work-overlay {
  display: none;
}

.koe-work-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 4vw, 64px) 18px 0;
}

.koe-work-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #252525;
  font-family: var(--koe-rmd-font, "IBM Plex Sans JP", sans-serif);
  font-size: clamp(13px, 0.95vw, 16px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none !important;
  transition: opacity 180ms ease, transform 180ms ease;
}

.koe-work-cta span {
  text-decoration: none !important;
}

.koe-work-cta:hover,
.koe-work-cta:focus-visible {
  opacity: 0.72;
  transform: translateY(-1px);
}

.koe-work-cta:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 6px;
}

.koe-work-cta-icon {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  grid-template-rows: repeat(2, 5px);
  place-content: center;
  gap: 2px;
  width: 50px;
  height: 30px;
  border-radius: 999px;
  background: #252525;
}

.koe-work-cta-icon span {
  display: block;
  width: 5px;
  height: 5px;
  background: #fff;
}

body .koe-work-overlay span {
  position: relative;
  max-width: min(72vw, 820px);
  color: #fff;
  font-family: "Times New Roman", "EB Garamond", serif !important;
  font-size: clamp(42px, 5.6vw, 96px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.84;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 18px rgb(0 0 0 / 0.18);
}

body .koe-work-overlay span::before,
body .koe-work-overlay span::after {
  content: "(";
  position: absolute;
  top: 50%;
  right: calc(100% + clamp(20px, 3vw, 54px));
  display: block;
  font-style: normal;
  font-family: var(--koe-rmd-font, sans-serif) !important;
  font-size: 1.7em;
  font-weight: 200;
  line-height: 0.72;
  transform: translateY(-50%) scaleX(0.72);
}

body .koe-work-overlay span::after {
  content: ")";
  right: auto;
  left: calc(100% + clamp(20px, 3vw, 54px));
}

@keyframes koe-work-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - 1px), 0, 0);
  }
}

@keyframes koe-work-marquee-reverse {
  from {
    transform: translate3d(calc(-50% - 1px), 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .koe-work-row,
  .koe-work-track {
    animation: none;
  }
}

@media (max-width: 767px) {
  .koe-work-partners {
    margin-top: 0 !important;
    padding: 22px 0 52px !important;
  }

  .koe-work-strip {
    padding-top: 0;
  }

  .koe-work-strip::before {
    content: none;
  }

  .koe-work-partners::before {
    height: 150px;
    background-size: 225% auto;
    background-position: center top;
    opacity: 0.82;
  }

  .koe-work-heading {
    width: 100%;
    margin-bottom: 18px;
    padding: 0 18px;
  }

  .koe-work-heading-title {
    font-size: clamp(13px, 3.8vw, 16px);
    line-height: 1.2;
  }

  .koe-work-heading-subtitle {
    margin-top: 14px;
    font-size: clamp(15px, 5vw, 20px);
    line-height: 1.4;
  }

  .koe-work-card {
    flex: 0 0 clamp(146px, 41vw, 178px);
    min-width: clamp(146px, 41vw, 178px);
  }

  .koe-work-stage {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    touch-action: pan-y;
  }

  .koe-work-row,
  .koe-work-track {
    animation-duration: 112s;
  }

  .koe-work-stage.is-js-marquee .koe-work-row,
  .koe-work-stage.is-js-marquee .koe-work-track,
  .koe-work-stage.is-js-marquee.is-marquee-ready .koe-work-row,
  .koe-work-stage.is-js-marquee.is-marquee-ready .koe-work-track {
    animation: none !important;
    will-change: transform;
  }

  .koe-work-row-reverse {
    animation-duration: 126s;
    animation-delay: -14s;
  }

  .koe-work-cta-wrap {
    padding-top: 28px;
  }

  .koe-work-cta {
    gap: 12px;
    font-size: 13px;
  }

  .koe-work-overlay span {
    max-width: 72vw;
    font-size: clamp(30px, 10vw, 48px);
  }

  .koe-work-overlay span::before {
    right: calc(100% + 10px);
  }

  .koe-work-overlay span::after {
    left: calc(100% + 10px);
  }
}
